package logic

import (
	"context"

	"zye1/user_srv/internal/svc"
	"zye1/user_srv/user"

	"github.com/zeromicro/go-zero/core/logx"
)

type LoginSmsCodeLogic struct {
	ctx    context.Context
	svcCtx *svc.ServiceContext
	logx.Logger
}

func NewLoginSmsCodeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *LoginSmsCodeLogic {
	return &LoginSmsCodeLogic{
		ctx:    ctx,
		svcCtx: svcCtx,
		Logger: logx.WithContext(ctx),
	}
}

func (l *LoginSmsCodeLogic) LoginSmsCode(in *user.LoginSmsCodeRequest) (*user.LoginSmsCodeResponse, error) {
	// todo: 短信登录

	return &user.LoginSmsCodeResponse{}, nil
}
